!function VueProductSelector(){

    var vm_data = {
        bannerable_type : 'Glass'
    };

    // bind type select change event to vue
    $('.product_type_select').on('change',function(){
        vm_data.bannerable_type = $(this).val();
        setTimeout(function(){
            $('.product-select-wrapper').find('select').select2();
        },50);
    });

    var vm = new Vue({
        el : '#v_app',
        data : vm_data,
        methods : {
//                    typeChanged : function typeChanged( evt ){
//                    }
        }
    });

}();